<template>
	<div class="tuijian" @click="to_business_detail">
		<div class="jg_item">
			<div class="jg_img">
				<img :src="store.logo">
			</div>
			<div class="jg_wz">
				<div class="title1">{{store.bussinses_name}}</div>
				<div class="title_info">{{store.address}}</div>
				<div class="montry ay">
					<div><span>月销：</span><span>{{store.sales_volume}}</span></div>
					<div><span>距离：</span><span>{{store.distance}}M</span></div>
				</div>
				<div class="montry"><span>评分：</span><span>{{store.score}}</span>
				</div>
				<div class="montry">
					<span class="jua">{{store.discount}}折</span>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
export default {
	name: 'OrdinaryStore',
	props: {
		store: {
			type: Object,
			default: () => {
				return {
					
				}
			}
		}
	},

	data () {
		return {

		}
	},
	computed: {
		business_id () {
			return this.store.id
		}
	},
	methods:{
			/*
		* 跳转至商家详情页
		* 作者：gzt
		* 时间：2019-11-27 21:25:38
		*/
		to_business_detail () {
			this.$router.push(
				{
					name: 'shcp_detail',
					params: { id: this.business_id }
				}
			)
		}
	}
}
</script>

<style scoped>
</style>

